import request from '@/utils/request'

// 登录接口
export function login(data) {
  return request({
    url: '/babyCarMerchant/user/login',
    method: 'POST',
    data
  })
} 
// 获取当前用户信息
export function getCurrentUser(){
	return request({
		url:"/babyCarMerchant/user/info",
		method: 'GET'
	})
}

// 修改用户密码
export function updatePwd(data){
	return request({
		url:"/babyCarMerchant/user/update/password",
		method:"POST",
		data
	})
}